home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 026a / header.zip / HEADER.TXT
Text File  |  1991-07-22  |  2KB  |  49 lines

  1. dUFLP (dBASE User's Function Library Project) Header Notation
  2.  
  3. Below is an example of the standardized notation agreed upon by those of us
  4. who took the time to attempt a standardized notation. This should be used in
  5. all functions and procedures uploaded as part of the dUFLP project.
  6.  
  7. FUNCTION AllTrim && {ver 0.8}
  8. *------------------------------------------------------------------------------
  9. *-- Programmer..: HazMatZak
  10. *-- Date........: 07/02/1991
  11. *-- Notes.......: Used to remove leading and trailing blanks from
  12. *                 a string.
  13. *-- Written for.: dBASE IV, 1.1
  14. *-- Rev. History: 05/23/1991 0.1 - Original version (CLW)
  15. *                 06/18/1991 0.2 - Revision to modify for dHUNG
  16. *                 06/19/1991 0.3 - Revised for ...
  17. *                 06/24/1991 0.4 - Revised for ...
  18. *                 06/25/1991 0.5 - Revised again by Ken Mayer
  19. *                                  to give smaller header ...
  20. *                 etc.
  21. *-- Calls.......: None
  22. *-- Called by...: Any
  23. *-- Usage.......: AllTrim(<cArg>)
  24. *-- Example.....: ? AllTrim("  Test string  ")
  25. *-- Returns.....: String to be trimmed (i.e.:"Test string")
  26. *-- Parameters..: cArg = String to be trimmed
  27. *------------------------------------------------------------------------------
  28.        
  29.    parameters cArg
  30.  
  31. RETURN ltrim(rtrim(cArg))
  32. *-- EoF: AllTrim
  33.  
  34. This notation, plus any comments inside a function or procedure will give
  35. something that we can all use, and by using the header given above, it will
  36. make it possible to create a routine either in dBASE or some other software
  37. that can generate a library listing, giving the pertinant information. 
  38.  
  39. This information should be combined with the information in the dHUNG.TXT
  40. (or dHUNG.ZIP) file found in the dBASE IV library, which is a modification 
  41. to the Hungarian notation for xBase applications. 
  42.  
  43. The dBASE User's Function Library Project is aimed at creating a library of
  44. functions and procedures that can be used "as is" by anyone, and is created
  45. by the users of the Ashton-Tate Bulletin Board. Ashton-Tate takes no 
  46. responsiblity for these functions/procedures. This is being done with the
  47. permission of A-T, but not as an official action of A-T. (If there's something
  48. wrong with a function/procedure, please leave a note in the sig /DB4_PRG,
  49. and someone will attempt to fix the problem ASAP.)